package com.pro_one.dao;

import com.pro_one.pojo.OrderAddress;

import java.util.List;

public interface OrderAddressDao {

    void add(OrderAddress orderAddress);

    List<OrderAddress> findByCondition(String queryString);

    OrderAddress findById(Integer id);

    void edit(OrderAddress orderAddress);

    List<OrderAddress> findAll();

    OrderAddress findOrderAddressDetailByAddress(String address);

    int findOrderCountById(Integer id);

    void deleteById(Integer id);
}
